#include "_aht20_Aht20.h"

#include "aht20_driver.h"


void _aht20_Aht20___init__(PikaObj *self)
{
    aht20_init();
}
pika_float _aht20_Aht20_readHumidity(PikaObj *self)
{
    AHT20_Data  data;

    aht20_read(&data);
    
    return data.humidity;
}
pika_float _aht20_Aht20_readTemp(PikaObj *self)
{
    AHT20_Data  data;
    aht20_read(&data);
  
    return data.temperature;
}


